package top.csmcool.musicapi.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName user_platform_bind_info
 */
@TableName(value ="user_platform_bind_info")
@Data
public class UserPlatformBindInfo implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    @TableField(value = "platform_name")
    private String platformName;

    /**
     * 
     */
    @TableField(value = "platform_url")
    private String platformUrl;

    /**
     * 
     */
    @TableField(value = "platform_id")
    private String platformId;

    /**
     * 
     */
    @TableField(value = "platform_code")
    private String platformCode;

    /**
     * 
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 
     */
    @TableField(value = "token")
    private String token;

    /**
     * 
     */
    @TableField(value = "cookie")
    private String cookie;

    /**
     * 
     */
    @TableField(value = "salt")
    private String salt;

    /**
     * 
     */
    @TableField(value = "version")
    private String version;

    /**
     * 
     */
    @TableField(value = "username")
    private String username;

    /**
     * 
     */
    @TableField(value = "password")
    private String password;

    /**
     * 
     */
    @TableField(value = "ext_map")
    private String extMap;

    /**
     * 
     */
    @TableField(value = "created_at")
    private Date createdAt;

    /**
     * 
     */
    @TableField(value = "updated_at")
    private Date updatedAt;

    /**
     * 
     */
    @TableField(value = "is_logged")
    private Integer isLogged;

    /**
     * 
     */
    @TableField(value = "is_disabled")
    private Integer isDisabled;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}